package com.ssh.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

	@RequestMapping("/hello")
	public String hello() {
		return "config";
	}
	
	@Value("${person.name}")
	private String name;
	
	@RequestMapping("/test02")
	public String test02() {
		return "hello " + name;
	}
}
